﻿//
// XN4SL - Xna Framework for Silverlight.
//
using System;

namespace Xn4Sl.Framework.Graphics
{
    /// <summary>
    /// Specifies special usage of the texture data.
    /// </summary>
    [Flags]
    public enum TextureUsage
    {
        /// <summary>
        /// (Xbox 360 only).
        /// </summary>
        Tiled = -2147483648,
        /// <summary>
        /// None.
        /// </summary>
        None = 0,
        /// <summary>
        /// The resource automatically generates mipmaps. Automatic generation of mipmaps
        /// is not supported for volume textures and depth stencil surfaces/textures. 
        /// </summary>
        AutoGenerateMipMap = 1024,
        /// <summary>
        /// (Xbox 360 only).
        /// </summary>
        Linear = 1073741824,
    }
}

